<script setup lang="ts" name="breadcrumbList">
import { useRoute } from 'vue-router'
const route = useRoute()

</script>

<template>
    <div class="breadcrumb-box">
        <el-breadcrumb separator="/">
            <el-breadcrumb-item v-for="(item, index) in route.matched">{{ item.meta.title }}</el-breadcrumb-item>
        </el-breadcrumb>
    </div>
</template>

<style scoped lang="scss">
.breadcrumb-box {
    padding: 0 20px;
}
</style>